<?php
namespace app\admin\controller;
use \think\Controller;
use \think\Session;
use \think\Db;
class Formmomentcomment extends Common
{
	



  public function delete(){
    $res = Db::name('momentcomment')->where('comment_id',input('commentid'))->update(['comment_status'=>input('statu')]);
    if($res===false){
        $this->error("处理失败");
    }
    $this->redirect(url('moment/momentcomment',['momentid'=>input('momentid')]));
  }

}